import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import $ from 'jquery'
import 'amfe-flexible'
import BaiduMap from 'vue-baidu-map'
import { Col, Row, Button, Dialog, DropdownMenu, DropdownItem, Toast, Popup, Cell, CellGroup, RadioGroup, Radio, Uploader, Area, Form, Field,DatetimePicker } from 'vant';

Vue.use(BaiduMap, {
    ak: 'ICair7lLrmwKnNIGpyydLTEzmKEqWsn3'
})
Vue.use(Col);
Vue.use(Row);
Vue.use(Button);
Vue.use(Dialog);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Toast);
Vue.use(Popup);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Uploader);
Vue.use(Area);
Vue.use(Form);
Vue.use(Field);
Vue.use(DatetimePicker);

Vue.prototype.$ = $
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')